home *** CD-ROM | disk | FTP | other *** search
- .geometry "version 0.1";
- v1 = .free(-0.009576, -0.00684, .invisible, "4");
- v2 = .free(0.740082, -0.004104, .invisible, "5");
- c1 = .c.vv(v1, v2, .magenta);
- v3 = .vonc(c1, 0.018937, -0.755961, .yellow, .plus);
- v4 = .vonc(c1, 0.659398, -0.345172, .yellow, .plus);
- v5 = .vonc(c1, -0.123777, 0.734074, .yellow, .plus);
- v6 = .vonc(c1, -0.714459, -0.262056, .yellow, .plus);
- l1 = .l.vv(v6, v3, .red);
- l2 = .l.vv(v3, v4, .red);
- l3 = .l.vv(v4, v5, .red);
- l4 = .l.vv(v5, v6, .red);
- v7 = .v.vvmid(v6, v3, .red);
- v8 = .v.vvmid(v3, v4, .red);
- v9 = .v.vvmid(v4, v5, .red);
- v10 = .v.vvmid(v5, v6, .red);
- l5 = .l.vlperp(v8, l4, .invisible, .longline);
- l6 = .l.vlperp(v10, l2, .invisible, .longline);
- l7 = .l.vlperp(v9, l1, .invisible, .longline);
- l8 = .l.vlperp(v7, l3, .invisible, .longline);
- v11 = .v.lc(l6, c1, 1, .invisible);
- v12 = .v.lc(l5, c1, 1, .invisible);
- v13 = .v.lc(l8, c1, 1, .invisible);
- v14 = .v.lc(l7, c1, 1, .invisible);
- v15 = .v.lc(l6, c1, 2, .invisible);
- v16 = .v.lc(l5, c1, 2, .cyan);
- v17 = .v.lc(l8, c1, 2, .invisible);
- v18 = .v.lc(l7, c1, 2, .invisible);
- l9 = .l.vv(v14, v18, .cyan);
- l10 = .l.vv(v11, v15, .cyan);
- l11 = .l.vv(v16, v12, .cyan);
- l12 = .l.vv(v13, v17, .cyan);
- .text("Cyclic Quadrilateral:");
- .text("");
- .text("Given an arbitrary quadrilateral inscribed in a circle,");
- .text("if prependiculars are dropped from the midpoint of each");
- .text("side to the opposite side, all those perpendiculars meet");
- .text("in a point. The yellow points can be moved to try");
- .text("different quadrilaterals.");
-